<?php

/**
 * Subclass for performing query and update operations on the 'post' table.
 *
 * 
 *
 * @package lib.model
 */ 
class PostPeer extends BasePostPeer
{
  public static function retrieveByHandle($handle)
  {
    $c = new Criteria();
    $c->add(PostPeer::HANDLE, $handle);
    $c->setLimit(1);
    foreach (PostPeer::doSelectWithI18n($c) as $post)
    {
      return $post;
      break;
    }
  }
}
